package com.sanpu.kxe.business.main.bean;

import android.text.TextUtils;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Description：个人信息接口返回
 * Created by 薛勇军 on 2018/6/12.
 */

public class UserCenterOutput implements Serializable {

    /** 商户号 */
    private String merchantCode;

    /** 商户姓名 */
    private String merchantName;

    /** 账户余额 */
    private BigDecimal balance;

    /** 银行卡张数 */
    private int cardNum;

    /**商户级别**/
    private int levelId;

    /**
     * 是否是会员
     * VIP：会员
     * NORMAL：普通用户
     * */
    private String levelName;

    private String levelImagePath;

    /** 是否可以授权 **/
    private String isAuthorization;

    /** 真实姓名 */
    private String crpNm;

    /** 账户状态 NORMAL：正常 FROZEN：冻结*/
    private String accountStatus;

    /** 账户累计积分 */
    private int accBp;

    /** 当前可用积分 */
    private int curBp;

    /** 用户名 */
    private String userName;

    /** 实名认证状态
     * INIT  未认证
     * IN_REVIEW  审核中
     * PASS  已认证
     * REFUSE  认证未通过
     * INCOMPLETE_INFO  资料不全
     * */
    private String chkSts;

    /** 昵称 */
    private String nickName;

    /**
     * 是否为合伙人
     * 1  是   0 不是
     */
    private int partner;

    /**
     * 未读消息
     * 0 表示有未读消息
     * 有未读，我的和信息显示红点
     */
    private String hasMsgRead;

    /**
     * 是否是原始会员 Y:是  N:否
     */
    private String isOriginalVip;

    /**
     * 至少添加一张信用卡标志
     * Y：需要添加 N：不需要添加
     */
    private String appScanCredit;

    /**
     * "open"   "closed"
     */
    private String proceedsSwitch;

    /**
     *
     */
    private String personAuthRmk;

    /** 昨日交易总金额 **/
    private String yesterdayTotalAmount;

    /** 本月交易总金额 **/
    private String thisMonthTotalAmount;

    /** 红包数据 */
    private ActReb actReb;

    public class ActReb implements Serializable {

        /** 红包金额 */
        private BigDecimal amt;

        /** 红包积分 */
        private int bp;

        public BigDecimal getAmt() {
            return amt;
        }

        public void setAmt(BigDecimal amt) {
            this.amt = amt;
        }

        public int getBp() {
            return bp;
        }

        public void setBp(int bp) {
            this.bp = bp;
        }
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }



    public int getCardNum() {
        return cardNum;
    }

    public void setCardNum(int cardNum) {
        this.cardNum = cardNum;
    }

    public String getCrpNm() {
        return crpNm;
    }

    public void setCrpNm(String crpNm) {
        this.crpNm = crpNm;
    }

    public String getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(String accountStatus) {
        this.accountStatus = accountStatus;
    }

    public int getAccBp() {
        return accBp;
    }

    public void setAccBp(int accBp) {
        this.accBp = accBp;
    }

    public int getCurBp() {
        return curBp;
    }

    public void setCurBp(int curBp) {
        this.curBp = curBp;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getChkSts() {
        return chkSts;
    }

    public void setChkSts(String chkSts) {
        this.chkSts = chkSts;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public boolean isPartner() {
        return 1 == partner;
    }

    public int getPartner() {
        return partner;
    }

    public void setPartner(int partner) {
        this.partner = partner;
    }

    public boolean hasMsgRead() {
        return "Y".equals(hasMsgRead);
    }

    public String getHasMsgRead() {
        return hasMsgRead;
    }

    public void setHasMsgRead(String hasMsgRead) {
        this.hasMsgRead = hasMsgRead;
    }

    public String getIsOriginalVip() {
        return isOriginalVip;
    }

    public void setIsOriginalVip(String isOriginalVip) {
        this.isOriginalVip = isOriginalVip;
    }

    public boolean isOriginalVip() {
        return TextUtils.equals("Y", isOriginalVip);
    }

    public String getAppScanCredit() {
        return appScanCredit;
    }

    public void setAppScanCredit(String appScanCredit) {
        this.appScanCredit = appScanCredit;
    }

    public String getProceedsSwitch() {
        return proceedsSwitch;
    }

    public void setProceedsSwitch(String proceedsSwitch) {
        this.proceedsSwitch = proceedsSwitch;
    }

    public String getPersonAuthRmk() {
        return personAuthRmk;
    }

    public void setPersonAuthRmk(String personAuthRmk) {
        this.personAuthRmk = personAuthRmk;
    }

    public ActReb getActReb() {
        return actReb;
    }

    public void setActReb(ActReb actReb) {
        this.actReb = actReb;
    }

    public int getLevelId() {
        return levelId;
    }

    public void setLevelId(int levelId) {
        this.levelId = levelId;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getLevelImagePath() {
        return levelImagePath;
    }

    public void setLevelImagePath(String levelImagePath) {
        this.levelImagePath = levelImagePath;
    }

    public String getYesterdayTotalAmount() {
        return yesterdayTotalAmount;
    }

    public void setYesterdayTotalAmount(String yesterdayTotalAmount) {
        this.yesterdayTotalAmount = yesterdayTotalAmount;
    }

    public String getThisMonthTotalAmount() {
        return thisMonthTotalAmount;
    }

    public void setThisMonthTotalAmount(String thisMonthTotalAmount) {
        this.thisMonthTotalAmount = thisMonthTotalAmount;
    }

    public String getIsAuthorization() {
        return isAuthorization;
    }

    public void setIsAuthorization(String isAuthorization) {
        this.isAuthorization = isAuthorization;
    }

    public boolean isAuthorization() {
        return TextUtils.equals("Y", isAuthorization);
    }
}
